/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.edu.entity.project;

import com.idenger.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 项目课程关联Entity
 * @author chenlin
 * @version 2017-12-04
 */
public class EduProjectCourse extends DataEntity<EduProjectCourse> {
	
	private static final long serialVersionUID = 1L;
	private String projectId;		// 项目ID
	private String courseId;		// 课程ID
	
	public EduProjectCourse() {
		super();
	}

	public EduProjectCourse(String id){
		super(id);
	}

	@Length(min=0, max=64, message="项目ID长度必须介于 0 和 64 之间")
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	@Length(min=0, max=64, message="课程ID长度必须介于 0 和 64 之间")
	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}
	
}